directly proportional and inversely proportional